// -----------------------------------------------------------------------
//  <copyright file="SiteSetting.cs" company="LiuliuSoft">
//      Copyright (c) 2025 66SOFT. All rights reserved.
//  </copyright>
//  <site>https://ifs.66soft.net</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-10-09 02:10</last-date>
// -----------------------------------------------------------------------

using System.ComponentModel;

using DaprPlus.Settings.Domain.Entities;


namespace DaprPlus.Identity.Domain.Entities;

[Description("站点设置")]
public class SiteSetting : ISetting
{
    [DisplayName("站点名称")]
    public SettingItem<string> SiteName { get; set; } =
        new("SiteSetting:SiteName", ResIdentity.String_Setting_SiteName) { Order = 1 };

    [DisplayName("站点简称")]
    public SettingItem<string> ShortSiteName { get; set; } = new("SiteSetting:ShortSiteName", "DaprPlus") { Order = 2 };

    [DisplayName("站点网址")]
    public SettingItem<string> SiteUrl { get; set; } = new("SiteSetting:SiteUrl", "http://www.dapr.plus") { Order = 3 };

    [DisplayName("公司名称")]
    public SettingItem<string> CompanyName { get; set; } =
        new("SiteSetting:CompanyName", ResIdentity.String_Setting_CompanyName) { Order = 4 };
}